package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Date;

@Data
@ApiModel("用户实体")
@TableName("zhike_users")
public class ZhikeUsers implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="user_uid", type= IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long userUid;

    @ApiModelProperty(value = "账号")
    private String accountNumber;

    @ApiModelProperty(value = "fakeUid")
    private String fakeUid;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "密码")
    private String userPsw;

    @ApiModelProperty(value = "性别 1 男，0 女")
    private Long userSex;

    @ApiModelProperty(value = "注册ip")
    private String registerIp;

    @ApiModelProperty(value = "注册时间")
    private Date registerTime;

    @ApiModelProperty(value = "最后登陆时间")
    private Date latestLoginTime;

    @ApiModelProperty(value = "最好登陆ip")
    private String latestLoginIp;

    @ApiModelProperty(value = "0 表示该用户处于禁用状???（???状态???的用户不能允许登陆），1 ???示正常登陆状态。默认值是1。")
    private Long userStatus;

    @ApiModelProperty(value = "头像")
    private String userAvatarFileName;

    @ApiModelProperty(value = "用户描述")
    private String userDesc;

    @ApiModelProperty(value = "用户类型")
    private Long userType;

    @ApiModelProperty(value = "用户地区")
    private String userRegieon;


    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

    @ApiModelProperty(value = "账号状态（1.正常 2.禁用）")
    private String accountStatus;

    @ApiModelProperty(value = "设备标识")
    private String registerDevice;

    @ApiModelProperty(value = "上次登录端（1.华为 2.小米 3.OPPO 4.VIVO）")
    private String lastLoginDevice;

    @ApiModelProperty(value = "支付密码")
    private String payPwd;

    @ApiModelProperty(value = "自动回复状态（1、开启 2、 关闭）")
    private String automaticReplyStatus;

    @ApiModelProperty(value = "自动回复内容")
    private String automaticReplyContent;

    @ApiModelProperty(value = "邀请码")
    private String invitCode;

    @ApiModelProperty(value = "允许通过手机号搜索我（1、开启 2、 关闭）")
    private String allowPhoneSearch;

    @ApiModelProperty(value = "允许通过账号搜索我（1、开启 2、 关闭）")
    private String allowNicknameSearch;

    @ApiModelProperty(value = "消息来时震动（1、开启 2、 关闭）")
    private String messageVibrate;

    @ApiModelProperty(value = "让对方知道我正在输入（1、开启 2、 关闭）")
    private String entering;

    @ApiModelProperty(value = "发送消息阅读状态（1、开启 2、 关闭）")
    private String messageReadStatus;

    @ApiModelProperty(value = "公开个人位置（1、开启 2、 关闭）")
    private String publicPersonalLocation;

    @ApiModelProperty(value = "支持多设备登录（1、开启 2、 关闭）")
    private String multipleDeviceLogin;

    @ApiModelProperty(value = "app我的页面背景图")
    private String myBackgroundUrl;

    @ApiModelProperty(value = "添加方式群聊（1、开启 2、 关闭）")
    private String addMethodGroup;

    @ApiModelProperty(value = "添加方式名片（1、开启 2、 关闭）")
    private String addMethodCard;

    @ApiModelProperty(value = "添加方式二维码（1、开启 2、 关闭）")
    private String addMethodQr;

    @ApiModelProperty(value = "音视频来电通知（1、开启 2、 关闭）")
    private String callNotification;

    @ApiModelProperty(value = "app内消息通知声音（1、开启 2、 关闭）")
    private String appNotificationVoice;

    @ApiModelProperty(value = "显示手机号给好友（1、开启 2、 关闭）")
    private String displayPhone;

}
